var IndexService = {
    getUserInfo: function(callback){
        Api.get("index.getUserInfo", callback);
    },
    leaveMsg: function(config, callback){
        Api.post("index.leaveMsg", config, callback);
    },
    createIm: function(callback){
        Api.post("index.createIm", callback);
    },
    sendMsg: function(config, callback){
        Api.post("index.sendMsg", config, callback);
    },
    getNewOrders: function(callback){
        Api.get("index.getNewOrders", callback);
    },
    getCusOrders: function(callback){
        Api.get("index.getCusOrders", callback);
    }
};
module.exports = IndexService;
